<?php
  //Genesis Software Manual - Page 13


$text_space = 4.4;
$edge = array(
	"MARGIN" => 44,
	"BULLET" => 50,
	"INSET_LIST" => 57,
	"P13_T1_COL1" => 40,
	"P13_T1_COL2" => 82
);

new_line(36);

// Page starts here

$pdf->AddPage();
$pdf->SetTextColor(0,0,0);
$pdf->SetDrawColor(0, 0, 0);


//  $pdf->Bookmark('A. Terminology',1);
//  $pdf->Bookmark('B. Display Specification',1);

//  $pdf->Image('./Genesis/Gen-soft/Gsm-06.png',0,0,210 ,297);
//  add_raster($pdf);



$pdf->Bookmark('A. Terminology',1,current_line() - 10);

$pdf->SetFont('arial','B',10);
$pdf->Text($edge ["MARGIN"], current_line(), "A. TERMINOLOGY");
$pdf->SetFont('arial','',10);

new_line();

$pdf->Text($edge["BULLET"], new_line(), "1.");
$pdf->Text($edge["INSET_LIST"], current_line(), "A unit of position on X, Y coordinates is called a DOT.");

$pdf->Text($edge["BULLET"], new_line(), "2.");
$pdf->Text($edge["INSET_LIST"], current_line(), "A minimum unit of display is called a PIXEL.");

$pdf->Text($edge["BULLET"], new_line(), "3.");
$pdf->Text($edge["INSET_LIST"], current_line(), "CELL means an 8(pixel) x 8(pixel) pattern.");

$pdf->Text($edge["BULLET"], new_line(), "4.");
$pdf->Text($edge["INSET_LIST"], current_line(), "SCROLL indicates a repositionable screen-spanning play field.");

$pdf->Text($edge["BULLET"], new_line(), "5.");
$pdf->Text($edge["INSET_LIST"], current_line(), "CPU usually indicates the 68000.");

$pdf->Text($edge["BULLET"], new_line(), "6.");
$pdf->Text($edge["INSET_LIST"], current_line(), "VDP stands for Video Display Processor.");

$pdf->Text($edge["BULLET"], new_line(), "7.");
$pdf->Text($edge["INSET_LIST"], current_line(), "CTRL stands for Control");

$pdf->Text($edge["BULLET"], new_line(), "8.");
$pdf->Text($edge["INSET_LIST"], current_line(), "VRAM stands for VDP RAM, the 64K bytes area of RAM accessible only through");
$pdf->Text($edge["INSET_LIST"], new_line(), "the VDP.");

$pdf->Text($edge["BULLET"], new_line(), "9.");
$pdf->Text($edge["INSET_LIST"], current_line(), "CRAM stands for Color RAM, 64 9 bit words inside the VDP chip.");

$pdf->Text($edge["BULLET"], new_line(), "10.");
$pdf->Text($edge["INSET_LIST"], current_line(), "VSRAM stands for Vertical Scroll RAM, 40 10 bit words inside the VDP chip");

$pdf->Text($edge["BULLET"], new_line(), "11.");
$pdf->Text($edge["INSET_LIST"], current_line(), "DMA stands for Direct Memory Access, the process by which the VDP performs");
$pdf->Text($edge["INSET_LIST"], new_line(), "high speed fills or memory copies.");

$pdf->Text($edge["BULLET"], new_line(), "12.");
$pdf->Text($edge["INSET_LIST"], current_line(), "PSG stands for Programmable Sound Generator, a class of low-capability sound");
$pdf->Text($edge["INSET_LIST"], new_line(), "chips. The Mega drive contains a Texas Instruments 76489 PSG chip.");

$pdf->Text($edge["BULLET"], new_line(), "13.");
$pdf->Text($edge["INSET_LIST"], current_line(), "FM stands for Frequency Modulation, a class of high-capability sound chip. The");
$pdf->Text($edge["INSET_LIST"], new_line(), "Mega drive contains a Yamaha 2612 FM chip.");

  $pdf->Bookmark('B. Display Specification',1,current_line() - 10);
  $pdf->SetFont('arial','B',10);
  $pdf->Text($edge ["MARGIN"], new_line(129),'B. DISPLAY SPECIFICATION');

  new_line();

  $pdf->Text(85, new_line(), "DISPLAY SPECIFICATION OUTLINE");
  
  $pdf->SetFont('arial','',8);
  $text_space = 4;

  //Drawing the table
  $pdf->Rect(38, 144, 152, 89);
  $pdf->Line(80, 144, 80, 144+89); //Vertical
  $pdf->Line(38, 160, 152+38, 160); //Horizontal
  $pdf->Line(38, 165, 152+38, 165); //Horizontal
  $pdf->Line(38, 184, 152+38, 184); //Horizontal
  $pdf->Line(38, 220, 152+38, 220); //Horizontal
  $pdf->Line(38, 226, 152+38, 226); //Horizontal


$pdf->Text($edge["P13_T1_COL1"], new_line(149), "DISPLAY SIZE");
$pdf->Text($edge["P13_T1_COL2"], current_line(), "THERE ARE TWO MODES:");
$pdf->Text($edge["P13_T1_COL2"], new_line(), "32 * 28 CELL(256 * 224 PIXEL)");
$pdf->Text($edge["P13_T1_COL2"], new_line(), "40 * 28 CELL(320 * 224 PIXEL)");

$pdf->Text($edge["P13_T1_COL1"], new_line(163), "CHARACTER GENERATOR", 1);
$pdf->Text($edge["P13_T1_COL2"], current_line(), "8 * 8 CELLS 1300-1800 depending on general system configuration.", 1, 1);

$pdf->Text($edge["P13_T1_COL1"], new_line(169), "SCROLL PLAYFIELDS");
$pdf->Text($edge["P13_T1_COL2"], current_line(), "Two scrolling play fields whose size in cells is selectable from:");
$pdf->Text($edge["P13_T1_COL2"], new_line(), "32 * 32, 32 * 64, 32 * 128");
$pdf->Text($edge["P13_T1_COL2"], new_line(), "64 * 32, 64 * 64");
$pdf->Text($edge["P13_T1_COL2"], new_line(), "128 * 32");

$pdf->Text($edge["P13_T1_COL1"], new_line(188), "SPRITE");
$pdf->Text($edge["P13_T1_COL2"], current_line(), "Sprite size is programmable on a sprite by sprite basis, with the following choices:");
$pdf->Text($edge["P13_T1_COL2"], new_line(), "8 * 8, 8 * 16, 8 * 24, 8 * 32");
$pdf->Text($edge["P13_T1_COL2"], new_line(), "16 * 8, 16 * 16, 16 * 24, 16 * 32");
$pdf->Text($edge["P13_T1_COL2"], new_line(), "24 * 8, 24 * 16, 24 * 24, 24 * 32");
$pdf->Text($edge["P13_T1_COL2"], new_line(), "32 * 8, 32 * 16, 32 * 24, 32 * 32");

$pdf->Text($edge["P13_T1_COL2"], new_line(215), "There are 64 sprites available when the screen is in 32 cell wide mode, or 80");
$pdf->Text($edge["P13_T1_COL2"], new_line(), "when the screen is in 40 cell wide mode.");

new_line();

$pdf->Text($edge["P13_T1_COL1"], new_line(224), "WINDOW");
$pdf->Text($edge["P13_T1_COL2"], current_line(), "window associated with the Scroll A play field.");

$pdf->Text($edge["P13_T1_COL1"], new_line(231), "COLOURS");
$pdf->Text($edge["P13_T1_COL2"], current_line(), "64 colors/512 possibilities.");

  $pdf->SetFont('arial','',10);
  $text_space = 4.4;
$pdf->Text($edge["P13_T1_COL1"], new_line(240), "For PAL(the European television 50 Hz standard), a vertical size of 30 cells(240 dots) is");
$pdf->Text($edge["P13_T1_COL1"], new_line(), "selectable.");

// $pdf->Image('./Genesis/Gen-soft/Gsm-06.png',0,0,210 ,297);

  add_footer($pdf,'02/21/92','6');
?>
